 #include <QtGui/QApplication>
 #include <QtGui/QPushButton>

#include <windows.h>

#include "QAppMainWindow.h"

 //int main(int argc, char *argv[])
int CALLBACK WinMain(
  __in  HINSTANCE hInstance,
  __in  HINSTANCE hPrevInstance,
  __in  LPSTR lpCmdLine, 
  __in  int nCmdShow
)
{
	int i;
	QApplication app(i, NULL);

	QAppMainWindow mw(NULL);
	mw.resize(640, 480);
	mw.show();

	return app.exec();
}